package com.lbiuse.wx.bean.media;

import com.lbiuse.wx.bean.Status;

import java.io.BufferedInputStream;
import java.io.Serializable;


/**
 * 下载的多媒体文件对象
 * 
 * @author jinglupeng.cc
 */
public class Media extends Status implements Serializable {
	
	public Media() {
		super();
	}

	public Media(Integer errcode, String errmsg) {
		super(errcode, errmsg);
	}

	private static final long serialVersionUID = 1L;
	private String mediaId;
	private String fileName;
	private String fullName;
	private String suffix;
	private String contentLength;
	private String contentType;
	private BufferedInputStream fileStream;

	public String getMediaId() {
		return mediaId;
	}

	public void setMediaId(String mediaId) {
		this.mediaId = mediaId;
	}

	public String getFullName() {
		return fullName;
	}

	public void setFullName(String fullName) {
		this.fullName = fullName;
	}

	public String getFileName() {
		return fileName;
	}

	public void setFileName(String fileName) {
		this.fileName = fileName;
	}

	public String getContentLength() {
		return contentLength;
	}

	public void setContentLength(String contentLength) {
		this.contentLength = contentLength;
	}

	public String getContentType() {
		return contentType;
	}

	public void setContentType(String contentType) {
		this.contentType = contentType;
	}

	public BufferedInputStream getFileStream() {
		return fileStream;
	}

	public void setFileStream(BufferedInputStream fileStream) {
		this.fileStream = fileStream;
	}

	public void setSuffix(String suffix) {
		this.suffix = suffix;
	}

	public String getSuffix() {
		return suffix;
	}

}
